#pragma once

#include <QMainWindow>
#include "login/logindialog.h"
#include "register/RegisterDialog.h"

QT_BEGIN_NAMESPACE

namespace Ui {
    class MainWindow;
}

QT_END_NAMESPACE

class MainWindow final : public QMainWindow {
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);

    ~MainWindow() override;

public slots:
    void SlotsSwitchReg();

private:
    Ui::MainWindow *ui;
    LoginDialog *_login_dia;
    RegisterDialog *_register_dia;
};
